import request from '@/utils/request'

// 查询合同信息列表
export function listFundElectronicSeals(query) {
  return request({
    url: '/contract/fundElectronicSeals/list',
    method: 'get',
    params: query
  })
}

// 查询合同信息详细
export function getFundElectronicSeals(id) {
  return request({
    url: '/contract/fundElectronicSeals/' + id,
    method: 'get'
  })
}

// 保存合同信息
export function saveFundElectronicSeals(data) {
  return request({
    url: '/contract/fundElectronicSeals/save',
    method: 'post',
    data: data
  })
}

// 删除合同信息
export function delFundElectronicSeals(id) {
  return request({
    url: '/contract/fundElectronicSeals/' + id,
    method: 'delete'
  })
}

// 导出合同信息
export function exportFundElectronicSeals(query) {
  return request({
    url: '/contract/fundElectronicSeals/export',
    method: 'get',
    params: query
  })
}

// 导出合同信息
export function goToJavaDate(id) {
  return request({
    url: '/contract/fundElectronicSeals/goToJava?id=' + id,
    method: 'get'
  })
}
